package com.kaili.basic.pojo.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Desc: 文档管理VO
 * @author: zengshuai
 * @Time: 19-7-24 上午10:33
 * @Copyright: © 2018 杭州凯立通信有限公司 版权所有
 * @Warning: 本内容仅限于公司内部传阅, 禁止外泄或用于其它商业目的
 */
@Data
public class BaseDocumentVO {

    @ApiModelProperty("主键ID")
    private Long id;

    @Excel(name = "文件名称", orderNum = "1")
    @ApiModelProperty("文件名称")
    private String name;

    @Excel(name = "状态", orderNum = "2",replace = {"已推送_1","已接收_2"})
    @ApiModelProperty("状态:1表示已推送 2表示已接收")
    private Integer status;

    @Excel(name = "文件大小", orderNum = "3")
    @ApiModelProperty("文件大小")
    private Double fileSize;

    @Excel(name = "平台", orderNum = "4",replace = {"安卓_1","IOS_2","其它_3"})
    @ApiModelProperty("平台")
    private Integer platform;

    @Excel(name = "设备类型", orderNum = "5")
    @ApiModelProperty("设备类型名称")
    private String equipmentTypeName;

    @Excel(name = "设备型号", orderNum = "6")
    @ApiModelProperty("设备型号名称")
    private String equipmentModelName;

    @ApiModelProperty("设备类型ID")
    private Integer equipmentType;

    @ApiModelProperty("设备型号ID")
    private Integer equipmentModel;

    @Excel(name = "模式", orderNum = "7",replace = {"服务器下发_1","设备上传_2"})
    @ApiModelProperty("模式")
    private Integer pattern;

    @Excel(name = "方式", orderNum = "8",replace = {"主动_1","被动_2"})
    @ApiModelProperty("方式")
    private Integer way;

    @Excel(name = "文件类型", orderNum = "9")
    @ApiModelProperty("文件类型")
    private String fileType;

    @Excel(name = "等级级别", orderNum = "10")
    @ApiModelProperty("等级级别")
    private Integer level;

    @Excel(name = "描述", orderNum = "11")
    @ApiModelProperty("描述")
    private String remark;

    @ApiModelProperty("文件自动删除:0表示否")
    private Integer autoDelete;

    @ApiModelProperty("移动网点自动下载:0表示否")
    private Integer autoDownload;

    @ApiModelProperty("阅读后定时删除:0表示否，非0表示多久时间(单位为分钟)删除")
    private Integer readDelete;

    @Excel(name = "子文件个数", orderNum = "12")
    @ApiModelProperty("子文件个数")
    private Integer subfileNumber;

    @ApiModelProperty("开始时间")
    private Date startTime;

    @ApiModelProperty("结束时间")
    private Date endTime;

    @Excel(name = "文档有效期", orderNum = "13")
    @ApiModelProperty(value = "文档有效期",hidden = true)
    private String effectiveTime;

    @ApiModelProperty("已推送数量")
    private Integer pushNumber;

    @ApiModelProperty("已接收数量")
    private Integer pullNumber;

    @Excel(name = "设置项", orderNum = "14")
    @ApiModelProperty(value = "设置项",hidden = true)
    private String settings;

    @Excel(name = "已推送/已接收", orderNum = "15")
    @ApiModelProperty(value = "已推送/已接收",hidden = true)
    private String pushAndPull;

    @Excel(name = "已推送推送组", orderNum = "16")
    @ApiModelProperty("已推送推送组")
    private String pushGroupName;

    @Excel(name = "创建时间", orderNum = "17")
    @ApiModelProperty("创建时间")
    private Date createTime;

    @Excel(name = "创建人", orderNum = "18")
    @ApiModelProperty("创建人名称")
    private String createName;

    @Excel(name = "附件", orderNum = "19")
    @ApiModelProperty("文件URL")
    private String fileUrl;


}
